package cn.wolfcode.crm.domain;

import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Getter@Setter
public class Employee {
	private Long id;
	private String name;
	private String password;
	private String email;
	private Integer age;
	
	private boolean admin;
	private Long deptId;
	private Department department;
	List<Role> roles;
	
	//角色
	private Long[] ids;
	
	public Employee() {
		
	}
	public Employee(Long id, String name, String email, Integer age) {
		
		this.id = id;
		this.name = name;
		this.email = email;
		this.age = age;
	}
	
}
